package com.gyp;


import lombok.extern.slf4j.Slf4j;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.task.TaskSchedulingAutoConfiguration;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @description:
 * @author: xia
 * @createTime: 2020/7/14  14:10
 * @version: v1.0.0
 * @param:
 * @return:
 * @update [序号][日期YYYY-MM-DD] [更改人姓名][变更描述]
 */
@EnableAsync
@EnableScheduling
@MapperScan({"com.gyp.mapper.**"})
@SpringBootApplication(exclude = {TaskSchedulingAutoConfiguration.class})
@Slf4j
@EnableTransactionManagement
@EnableAspectJAutoProxy
@EnableFeignClients
public class IdsApplication {

    public static void main(String[] args) {
        log.info("项目启动中=======>");
        SpringApplication.run(IdsApplication.class, args);
        log.info("项目启动完成======>");
    }
}
